-- GENERATED SPELL FOR [Dark Adept] --


function spell0_8546(pUnit, Event) --@Snap Kick,n/a--
pUnit:FullCastSpellOnTarget(8646,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8546', 2346, 1)
end

function Sorts_8546(pUnit, Event)
local choix_sorts_8546 = math.random(0, 0)
if choix_sorts_8546 == 0 then
pUnit:RegisterEvent('spell0_8546', 1, 1)
end
end

function mob8546_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8546', math.random(1500, 3000), 1)
end

function mob8546_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8546_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8546_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8546, 1, 'mob8546_Action')
RegisterUnitEvent(8546, 2, 'mob8546_Leave')
RegisterUnitEvent(8546, 3, 'mob8546_Kill')
RegisterUnitEvent(8546, 4, 'mob8546_Die')
